package cn.gson.boot.model.mapper;

import cn.gson.boot.model.pojos.User;
import cn.gson.boot.model.pojos.Work;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface WorkMapper {
    //模糊查询
    public List<Work> allworks(@Param("workContent") String workContent,
                                                @Param("workType") String workType,
                                                @Param("empId") int empId);

    //所有查询
    public List<Work> quanworks();

    //员工查询
    public List<User> allusers();

    //日周月报的类型数量统计
    public Integer workleixing(@Param("workType") String workType,@Param("empId") int empId);
}
